package edu.colorado.cs.correll.cudroplet.shaperecognition;

public class TestSimulation extends Simulation {

	public TestSimulation(ShapeRecognition shapeRecognition) {
		this.shapeRecognition = shapeRecognition;
		
		envMap = new TestEnvironmentMap(shapeRecognition);
		
		swarm = new TestSwarm(shapeRecognition);

	}
	
	public void draw() {
		envMap.draw();
		shapeRecognition.loadPixels();
		swarm.update();
		//shapeRecognition.drawBodies(true);
		//shapeRecognition.drawSubgraphs();
	    //shapeRecognition.drawConvexHulls();
	    
	    //shapeRecognition.drawAlphaShapes(false);
	    
	    shapeRecognition.noLoop();
	}
}
